package com.sskj.b70.m.bean.rxbus;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * 作者 :吕志豪
 * 简书：https://www.jianshu.com/u/6e525b929aac
 * github：https://github.com/lvzhihao100
 * 描述：
 * 创建时间：2018-07-31 10:05
 */
public class StockCoin implements Serializable {
    String name;
    String buyPrice;
    String sellPrice;
    double transFee;
    String haveNum;
    String money;
    String price;

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public double getTransFee() {
        return transFee;
    }

    public void setTransFee(double transFee) {
        this.transFee = transFee;
    }

    public String getHaveNum() {
        return haveNum;
    }

    public void setHaveNum(String haveNum) {
        this.haveNum = haveNum;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getBuyPrice() {
        return TextUtils.isEmpty(buyPrice) ? "0" : buyPrice;
    }

    public void setBuyPrice(String buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getSellPrice() {
        return TextUtils.isEmpty(sellPrice) ? "0" : sellPrice;
    }

    public void setSellPrice(String sellPrice) {
        this.sellPrice = sellPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
